package database.demo;

import org.springframework.batch.item.ItemWriter;

import java.util.List;

/**
 * Created by 王腾 on 2017/3/17.
 */
public class DataBaseModelWriter implements ItemWriter<DataBaseModel> {
    @Override
    public void write(List<? extends DataBaseModel> list) throws Exception {
        for (DataBaseModel dataBaseModel : list) {
            System.out.println(dataBaseModel);
        }
    }
}
